package com.yl.danmo.mapper;


import com.yl.danmo.domain.DanmoPersonPosition;

import java.util.List;

/**
 * 会员职位关联Mapper接口
 * 
 * @author yl
 * @date 2025-04-12
 */
public interface DanmoPersonPositionMapper 
{
    /**
     * 查询会员职位关联
     * 
     * @param id 会员职位关联主键
     * @return 会员职位关联
     */
    public DanmoPersonPosition selectDanmoPersonPositionById(Long id);

    /**
     * 查询会员职位关联列表
     * 
     * @param danmoPersonPosition 会员职位关联
     * @return 会员职位关联集合
     */
    public List<DanmoPersonPosition> selectDanmoPersonPositionList(DanmoPersonPosition danmoPersonPosition);

    /**
     * 新增会员职位关联
     * 
     * @param danmoPersonPosition 会员职位关联
     * @return 结果
     */
    public int insertDanmoPersonPosition(DanmoPersonPosition danmoPersonPosition);

    /**
     * 修改会员职位关联
     * 
     * @param danmoPersonPosition 会员职位关联
     * @return 结果
     */
    public int updateDanmoPersonPosition(DanmoPersonPosition danmoPersonPosition);

    /**
     * 删除会员职位关联
     * 
     * @param id 会员职位关联主键
     * @return 结果
     */
    public int deleteDanmoPersonPositionById(Long id);

    /**
     * 批量删除会员职位关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoPersonPositionByIds(Long[] ids);
}
